package org.example.functions;

import org.example.Parent.realInstrument;

public class MhpDashboard extends realInstrument {
    private int i = 0;
    public MhpDashboard(double data, String path, Mode op, int n) {
        super(data, path, op, n);
    }
    @Override
    public void updateData() {
        super.data = i;
        i++;
        if (i == super.n) {
            i = 0;
        }
    }
}
